package br.edu.fanor.geract.services.impl;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import br.edu.fanor.geract.entity.Resumos;
import br.edu.fanor.geract.services.ResumosServicesRemote;

@Stateless
public class ResumosServicesImpl implements ResumosServicesRemote{

	@PersistenceContext(unitName="geract")
	private EntityManager on;
	
	@Override
	public Resumos Inserir(Resumos resumos) {
		on.persist(resumos);
		return resumos;
	}

}
